package com.scut.campus.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.scut.campus.entity.base.BaseDO;
import lombok.Builder;
import lombok.Data;

@Data
@TableName("`like`")
@Builder
public class Like extends BaseDO {

    /**
     * 点赞id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String likeId;

    /**
     * 点赞类型
     * FAV-收藏
     * LIKE-点赞
     */
    private String likeType;

    /**
     * 点赞用户id
     */
    private String userId;

    /**
     * 点赞评论id
     */
    private String commentId;

    /**
     * 收藏商品Id
     */
    private String tradeId;

    /**
     * 点赞帖子id
     */
    private String postId;
}
